.projects {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 0 auto;
  max-width: calc(var(--screen-lg) - 25px);
}

.projects-title {
  display: block;
  margin-right: 10px;
  font-weight: 600;
  font-size: 12px;
  opacity: 0.7;
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 4px 10px;
}

.item-link {
  display: block;
  padding: 3px 8px 4px;
  border: 1px solid var(--background-light-highlight);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease-in-out;
  transition-property: background, box-shadow;

  &:focus {
    box-shadow: 0 1px 1px var(--shadow-color);
  }

  &:hover {
    box-shadow: 0 2px 5px var(--shadow-color);
    background: var(--content-background);
  }
}

@media (max-width: 640px) {
  .projects {
    align-items: flex-start;
    flex-direction: column;
    padding: 0;
    margin-bottom: 14px;
  }
  .projects-title {
    margin-bottom: 4px;
  }
}
